/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.edu.iuh.dhth7dlt.emailclient.utils;


/**
 *
 * @author Friendless
 */
public class ConfigAccount {
   private String name;
   private String email;
   private String user;
   private String password; 
   private String POPserver; 
   private String SMTPserver;
   private int SMTPport;
   private int POPport;
   private String PathDB;
   private boolean saveMailOnServer;

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the user
     */
    public String getUser() {
        return user;
    }

    /**
     * @param user the user to set
     */
    public void setUser(String user) {
        this.user = user;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the POPserver
     */
    public String getPOPserver() {
        return POPserver;
    }

    /**
     * @param POPserver the POPserver to set
     */
    public void setPOPserver(String POPserver) {
        this.POPserver = POPserver;
    }

    /**
     * @return the SMTPserver
     */
    public String getSMTPserver() {
        return SMTPserver;
    }

    /**
     * @param SMTPserver the SMTPserver to set
     */
    public void setSMTPserver(String SMTPserver) {
        this.SMTPserver = SMTPserver;
    }

    /**
     * @return the SMTPport
     */
    public int getSMTPport() {
        return SMTPport;
    }

    /**
     * @param SMTPport the SMTPport to set
     */
    public void setSMTPport(int SMTPport) {
        this.SMTPport = SMTPport;
    }

    /**
     * @return the POPport
     */
    public int getPOPport() {
        return POPport;
    }

    /**
     * @param POPport the POPport to set
     */
    public void setPOPport(int POPport) {
        this.POPport = POPport;
    }

    /**
     * @return the PathDB
     */
    public String getPathDB() {
        return PathDB;
    }

    /**
     * @param PathDB the PathDB to set
     */
    public void setPathDB(String PathDB) {
        this.PathDB = PathDB;
    }

    /**
     * @return the saveMailOnServer
     */
    public boolean isSaveMailOnServer() {
        return saveMailOnServer;
    }

    /**
     * @param saveMailOnServer the saveMailOnServer to set
     */
    public void setSaveMailOnServer(boolean saveMailOnServer) {
        this.saveMailOnServer = saveMailOnServer;
    }

    @Override
    public String toString() {
        return email;
    }

  
     
         
   
}
